<?php
/**
 * Common Template - tpl_header_nav.php
 *
 * this file can be copied to /templates/your_template_dir/pagename<br />
 * example: to override the privacy page<br />
 * make a directory /templates/my_template/privacy<br />
 * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
 * to override the global settings and turn off the footer un-comment the following line:<br />
 * <br />
 * $flag_disable_header = true;<br />
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
 */
?>

<?php
?>
<div id="site-nav" class="ui-state-default">
    <div id="site-nav-cont">
        <p class="login-info">
            Welcome! Please<a href="#">Login</a>Or<a href="#">Register!</a>
<?php if ($_SESSION['customer_id']) { ?>
            
                <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
                <a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
<?php }else{
                if (STORE_STATUS == '0') {
                    ?>
                    <a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
                    <?php
                }
            }
            ?>
        </p>
        <ul class="quick-menu">
            <li class="home ui-state-default ">
                <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a>
            </li>
            <li id="menu-cart" class="menu-0 ui-state-default">
                <a target="_top" href="http://localhost/zen_hyOnline">My Shop</a>
                <div class="menu-1">
                    <div class="menu-1-cont ui-state-hover go-left">
                        <a href="http://localhost/zen_hyOnline">My Profile</a><br />
                        <a href="http://localhost/zen_hyOnline">My Order</a><br />
                        <a href="http://localhost/zen_hyOnline">My News</a><br />
                    </div>
                </div>
            </li>
            <li class="menu-0 ui-state-default menu-icon-wp">
                <span  class="ui-icon ui-icon-cart menu-icon"></span>
                <a target="_top" href="http://localhost/zen_hyOnline">
                    My Cart 0 Items</a>
                <div class="menu-1">
                    <div class="menu-1-cont ui-state-hover go-right">
                        <a href="http://localhost/zen_hyOnline">My Profile</a><br />
                        <a href="http://localhost/zen_hyOnline">My Order</a><br />
                        <a href="http://localhost/zen_hyOnline">My News</a><br />
                    </div>
                </div>
            </li>
            <li class="menu-0 ui-state-default menu-icon-wp">
                <span  class="ui-icon ui-icon-star menu-icon"></span>
                <a target="_top" href="http://localhost/zen_hyOnline">My Favorite</a>
                <div class="menu-1">
                    <div class="menu-1-cont ui-state-hover go-left">
                        <a href="http://localhost/zen_hyOnline">My Profile</a><br />
                        <a href="http://localhost/zen_hyOnline">My Order</a><br />
                        <a href="http://localhost/zen_hyOnline">My News</a><br />
                    </div>
                </div>
            </li>
            <li class="menu-0 ui-state-default">
                <a target="_top" href="http://localhost/zen_hyOnline">Site Map</a>
                <div class="menu-1">
                    <div class="menu-1-cont ui-state-hover go-left">
                        <a href="http://localhost/zen_hyOnline">My Profile</a><br />
                        <a href="http://localhost/zen_hyOnline">My Order</a><br />
                        <a href="http://localhost/zen_hyOnline">My News</a><br />
                    </div>
                </div>
            </li>
            <li>
                <div id="switcher"></div>
            </li>
        </ul>
    </div>
</div>